/// UpdateMainUserPasswordDto
class UpdateMainUserPasswordDto {
  /// 新密码
  final String password;
  /// 代理团队主账号
  final String mainUserName;
  /// 主账号系统代码：3-核销端，4-财务端
  final int systemCode;

  UpdateMainUserPasswordDto({
    required this.password,
    required this.mainUserName,
    required this.systemCode,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['password'] = password;
    data['mainUserName'] = mainUserName;
    data['systemCode'] = systemCode;
    return data;
  }

  factory UpdateMainUserPasswordDto.fromJson(Map<String, dynamic> json) {
    return UpdateMainUserPasswordDto(
      password: json['password'],
      mainUserName: json['mainUserName'],
      systemCode: json['systemCode'],
    );
  }
}